package com.hornsun.domain.dbo;

import java.util.Date;

public class Evaluate {
    private String evaluateGuid;

    private String commodityGuid;

    private Float starLevel;

    private String content;

    private Date time;

    private String nickname;

    public String getEvaluateGuid() {
        return evaluateGuid;
    }

    public void setEvaluateGuid(String evaluateGuid) {
        this.evaluateGuid = evaluateGuid == null ? null : evaluateGuid.trim();
    }

    public String getCommodityGuid() {
        return commodityGuid;
    }

    public void setCommodityGuid(String commodityGuid) {
        this.commodityGuid = commodityGuid == null ? null : commodityGuid.trim();
    }

    public Float getStarLevel() {
        return starLevel;
    }

    public void setStarLevel(Float starLevel) {
        this.starLevel = starLevel;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", evaluateGuid=").append(evaluateGuid);
        sb.append(", commodityGuid=").append(commodityGuid);
        sb.append(", starLevel=").append(starLevel);
        sb.append(", content=").append(content);
        sb.append(", time=").append(time);
        sb.append(", nickname=").append(nickname);
        sb.append("]");
        return sb.toString();
    }
}